package edu.bbu.bibliospring.backend.service;

import edu.bbu.bibliospring.backend.model.Profile;
import edu.bbu.bibliospring.backend.service.exception.BibliospringServiceException;

import javax.ejb.Remote;
import java.util.List;

/**
 * Created by anna on 6/12/14.
 */
@Remote
public interface ProfileService {

    List<Profile> getAll() throws BibliospringServiceException;

    Profile getById(Long id) throws BibliospringServiceException;

    Profile insertProfile(Profile profile) throws BibliospringServiceException;
}
